package com.kanqiubao.kq.http;

import okhttp3.Call;
import okhttp3.Response;

public abstract interface HttpListener<T> {
	public void onSuccess(T paramT, Call paramCall, Response paramResponse);
	public void onCacheSuccess(T t, Call call);
	public void onCacheError(Call call, Exception e) ;
	public void parseError(Call call, Exception e) ;
	public void onAfter(T t, Exception e) ;
	public void onError(Call call, Response response, Exception e);
}
